:root {
	--totalWid: 100%;
	--themeColor: #0d60d0;
}
html,
body {
	width: var(--totalWid);
}

/* 头部 */
header {
	box-sizing: border-box;
	width: 100%;
	padding: 0 20px 3px 20px;
	height: 69px;
	border-bottom: 1px solid var(--themeColor);
}
header > a {
	display: block;
	width: 236px;
	height: 66px;
	line-height: 66px;
	cursor: pointer;
}

header > a h1 {
	margin: 0;
	height: 66px;
	background: url(../imgs/new-logo-white2.png) no-repeat center;
}

header ul {
	height: 66px;
	line-height: 66px;
}
header ul li {
	box-sizing: border-box;
	display: block;
	margin: 0 10px;
}
header ul li.active {
	border-bottom: 3px solid var(--themeColor);
}
header ul li.active a {
	color: var(--themeColor);
}

header div a:first-child {
	display: inline-block;
	padding: 8px 20px;
	border: 1px solid #d1d1d1;
	border-radius: 10px;
	font-size: 12px;
}
header div a:last-child {
	display: inline-block;
	padding: 8px 10px;
	border-radius: 10px;
	background-color: red;
	font-size: 12px;
	cursor: pointer;
}
header div a:last-child::after {
	color: red;
}

/* 主体部分 */
main {
	width: 100%;
}

/* API分类 */
#apiCate {
	padding-top: 50px;
	width: 100%;
	height: 280px;
}

#apiCate div h2 {
	line-height: 60px;
	font-size: 22px;
}

#apiCate #apiCateList {
	display: flex;
	flex-wrap: wrap;
}

#apiCateList li {
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 8px 16px;
	color: #666;
	border: 1px solid #ececec;
	cursor: pointer;
	border-radius: 10px;
}

#apiCateList li.active {
	color: var(--themeColor);
	border: 1px solid var(--themeColor);
}

#apiCate div div {
	margin-top: 50px;
}

#apiCate div div strong {
	margin-right: 20px;
}
/* 卡片 */
#apiCards #apiCardList {
	display: flex;
	flex-wrap: wrap;
}

#apiCards #apiCardList li {
	/* display: inline-block; */
	position: relative;
	box-sizing: border-box;
	border: 1px solid #eeeeee;
	text-align: center;
	width: 226px;
	height: 268px;
	padding-top: 50px;
	margin-top: 5px;
	margin-right: 5px;
	overflow: hidden;
}
#apiCardList li p:nth-child(2) {
	line-height: 44px;
	font-size: 12px;
}
#apiCardList li p:nth-child(3) {
	line-height: 24px;
	font-size: 12px;
}
#apiCardList li > span {
	top: 10px;
	left: 10px;
	padding: 4px 8px;
	background-color: #e5f8ff;
	color: var(--themeColor);
	font-size: 12px;
}
#apiCardList li > a {
	left: 50%;
	bottom: -32px;
	transform: translate(-50%);
	width: 180px;
	height: 30px;
	line-height: 30px;
	background-color: #00bdff;
	color: white;
	transition: all 1s;
}
#apiCardList li:hover > a {
	bottom: 20px;
}
#apiCardList li:hover {
	box-shadow: 6px 6px 18px #666;
}
/* 模态框 */
#layer {
	display: none;

	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	background-color: rgba(0, 0, 0, 0.3);
}
#layer .enter {
	/* display: flex; */
	/* flex-direction: column;
	justify-content: space-between; */

	position: fixed;
	box-sizing: border-box;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 24px 25px;
	width: 400px;
	height: 550px;
	background-color: #ffffff;
}
#layer .enter .layerLoge {
	background: url(../imgs/new-logo-white2.png) no-repeat;
	height: 80px;
	width: 180px;
	margin: 0 auto;
}
.enter .layerTab {
	/* display: flex; */
	width: 100%;
	height: 40px;
	position: relative;
}
.layerTab a {
	/* display: inline-block; */
	font-size: 16px;
	color: #8b8b8b;
	width: 180px;
	height: 40px;
	text-align: center;
	line-height: 40px;
}
.layerTab i {
	height: 12px;
	width: 2px;
	background-color: #8b8b8b;
}
.layerTab a.active {
	position: relative;
	color: #00bdff;
}
/* 激活样式 */
.layerTab a.active::after {
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 0;
	content: "";
	display: block;
	background-color: #00bdff;
	width: 40px;
	height: 3px;
}
/* 输入框 */
.enter .layerTab {
	margin-bottom: 35px;
}
.enter #loginForm input {
	border: none;
	outline: none;
	margin-bottom: 5px;
}
.enter #loginForm .layerUser,
.layerPassword {
	width: 100%;
	border-bottom: 2px solid #8b8b8b;
	margin-bottom: 20px;
}
/* 图标 */
.enter #loginForm .layerUser i {
	/* 相对定位 */
	position: relative;
	top: 3px;
	display: inline-block;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -51px 2px;
	width: 35px;
	height: 30px;
}
.enter #loginForm .layerPassword i {
	position: relative;
	top: 3px;
	display: inline-block;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -21px 2px;
	width: 35px;
	height: 30px;
}
/* 忘记密码 */
.forgetpassword {
	width: 100%;
	text-align: right;
	margin-bottom: 20px;
}
.forgetpassword a {
	color: #03c5ff;
	font-size: 12px;
}
/* 登录 */
.enterButter input {
	text-align: center;
	width: 360px;
	height: 45px;
	line-height: 45px;
	color: white;
	background-color: #03c5ff;
	font-size: 16px;
}
/* 注册 */
#loginForm p:last-child {
	text-align: right;
	font-size: 14px;
	height: 20px;
	margin-top: 20px;
	color: #909090;
}
#loginForm p:last-child a {
	color: #03c5ff;
}
/* 图标 */
#loginForm p:last-child i {
	position: relative;
	top: 1px;
	display: inline-block;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -54px -32px;
	width: 20px;
	height: 20px;
}
#loginForm .enterButter input:hover {
	cursor: pointer;
}

/* 扫码登陆 */
#loginScan .scan {
	margin: 0 auto;
	width: 290px;
	height: 242px;
	border: 1px solid #f0f0f0;
	background-color: #fcfcfc;
}
#loginScan .scan .scanQr {
	/* display: inline-block; */
	margin: 0 auto;
	margin-top: 37px;
	background: url(../imgs/103-demo.png) no-repeat;
	background-size: cover;
	height: 110px;
	width: 110px;
}
#loginScan .scan p {
	text-align: center;
	font-size: 12px;
	height: 20px;
	line-height: 20px;
	margin-top: 12px;
}
#loginScan p:last-child {
	padding-left: 29px;
	margin-top: 10px;
	font-size: 14px;
	height: 20px;
	margin-top: 15px;
	color: #909090;
}
#loginScan p:last-child a {
	color: #03c5ff;
}
/* 图标 */
#loginScan p:last-child i {
	position: relative;
	top: 1px;
	display: inline-block;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -54px -32px;
	width: 20px;
	height: 20px;
}
/* 分页器 */
#pagination {
	width: 100%;
	/* height: 200px; */
}
#pagination ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 180px;
	margin: 30px auto;
}
#pagination li {
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 25px;
	cursor: pointer;
	border-radius: 50%;
	color: #000;
}
#pagination ul li.active {
	background-color: #0d60d0;
	color: white;
}
/* 尾部 */
footer {
	width: var(--totalWid);
	height: 275px;
	margin-top: 50px;
	background-color: #f8f8f8;
}
.column {
	height: 230px;
}
.column ul li {
	height: 203px;
	width: 87px;
	line-height: 30px;
}
.column ul li p {
	font-size: 12px;
	color: #c1c1c1;
}
.column ul li h5 {
	font-weight: bold;
	margin-bottom: 30px;
}
.column .columnUl {
	width: 730px;
	height: 203px;
}
.column .QRcode {
	display: inline-block;
	width: 180px;
	height: 185px;
	text-align: right;
}

.QRcode h3 {
	font-size: 20px;
	font-weight: bold;
}
.QRcode p {
	margin: 20px 0;
	font-size: 12px;
	color: #c1c1c1;
}
.footerIcon {
	font-size: 12px;
	color: #c1c1c1;
}
.footerIcon .footerIconLeft p {
	display: inline-block;
}
.footerIcon img {
	margin: 10px 5px;
	vertical-align: middle;
}
.footerIcon p {
	display: inline-block;
}
/* 回到顶部 */
.backTop {
	opacity: 0;

	z-index: 9;
	background: url(../imgs/returntopicon.jpg) no-repeat;
	background-position: -163px -56px;
	position: fixed;
	right: 140px;
	bottom: 10px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
